#!/usr/bin/python
# coding:utf-8
# auther:DT
# 2017-08-08_14-02-31


def line_conf():
    b = 15
    def line(x):
        return 2*x+b
    return line


b = 5
my_line = line_conf()
print(my_line.__closure__)
print(my_line.__closure__[0].cell_contents)
print("===========")
print(my_line(6))
print(my_line(16))
print(my_line(26))
print(my_line(36))
